package com.awesome.media;

/**
 * Author: JFangZ
 * Email:janezhang1901@163.com
 * Date: 2020/4/30 15:36
 * Description:播放器各状态回调
 */
public interface IMediaPlayerListener {
    default void onPrepared() {

    }

    default void onComplete() {

    }

    default void onError(Exception e) {

    }

    default void onVideoSizeChanged(int width, int height) {

    }

    default void onBufferingStart() {

    }

    default void onBufferingEnd() {

    }

    default void onVideoRenderingStart() {

    }

    default void onBufferingUpdate(int percent) {

    }

}
